package com.example.market_management.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("shop_car")
public class shopCar {
    @TableId(value = "car_id",type = IdType.ASSIGN_UUID)
    private String carId;

    private Integer userId;

    private String  productId;

    private Date  addTime;

    @TableField(exist = false)
    private Product product;


}
